package com.example.demo.client.evt.cssmqry;

import com.example.demo.enums.MatchRuleEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.List;

/**
 * @Desc
 * @Author zhengmf
 * @Date 2019-12-18 16:36:05
 */
@ApiModel
public class QryRegionListEvt implements Serializable {
    private static final long serialVersionUID = -7763050661544927614L;
    @ApiModelProperty("区域ID集合")
    private List<String> regionIdList;
    @ApiModelProperty("区域级别集合")
    private List<Integer> regionTypeList;
    @ApiModelProperty("区域父ID集合")
    private List<String> parentIdList;
    @ApiModelProperty("区域名称")
    private String regionName;
    @ApiModelProperty("区域名称匹配规则:0:模糊匹配，1:左匹配 2：右匹配  3：精确匹配;默认0")
    private Integer matchRule = MatchRuleEnum.ALL_MATCH.getValue();

    public List<String> getRegionIdList() {
        return regionIdList;
    }

    public void setRegionIdList(List<String> regionIdList) {
        this.regionIdList = regionIdList;
    }

    public List<Integer> getRegionTypeList() {
        return regionTypeList;
    }

    public void setRegionTypeList(List<Integer> regionTypeList) {
        this.regionTypeList = regionTypeList;
    }

    public List<String> getParentIdList() {
        return parentIdList;
    }

    public void setParentIdList(List<String> parentIdList) {
        this.parentIdList = parentIdList;
    }

    public String getRegionName() {
        return regionName;
    }

    public void setRegionName(String regionName) {
        this.regionName = regionName;
    }

    public Integer getMatchRule() {
        return matchRule;
    }

    public void setMatchRule(Integer matchRule) {
        this.matchRule = matchRule;
    }

    @Override
    public String toString() {
        return "QryRegionListEvt{" +
            "regionIdList=" + regionIdList +
            ", regionTypeList=" + regionTypeList +
            ", parentIdList=" + parentIdList +
            ", regionName='" + regionName + '\'' +
            ", matchRule=" + matchRule +
            '}';
    }
}
